package HLLib.game;

import HLCode.HLClass;
import HLCode.HLClassManager;
import HLCode.HLClassManager_H;
import HLCode.HLLibObject;
import HLCode.HLObject;
import HLLib.base.HLImage;

public class HLTile extends HLLibObject {
    public HLClass GetClass(HLClassManager classManager) {
        return classManager.GetLibClass(HLClassManager_H.CLASS_GROUP_TYPE_LIB_GAME, HLClassManager_H.LIB_CLASS_GAME_Tile);
    }

    public int GetInt(int index) {
        return cdType;
    }

    public void SetInt(int index, int value) {
        cdType = (byte) value;
    }

    public HLObject GetObject(int index) {
        return image;
    }

    public void SetObject(int index, HLObject value) {
        image = (HLImage) value;
    }

    public HLImage image;

    public byte cdType;
}
